package br.com.gsa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.gsa.bean.dao.UfDao;
import br.com.gsa.model.Cliente;
import br.com.gsa.model.Uf;
import br.com.gsa.service.UfService;

@Service("ufService")
public class UfServiceImpl implements UfService {

	@Autowired
	private UfDao  ufDao;
	
	@Override
	public List<Uf> findAllUf() {
		
		return ufDao.findAll();
	}

	@Override
	public Uf findById(Long id) {
		return  ufDao.findById(id);
		
	}

}
